package com.yu.test.com;


import com.yu.annotion.Aspect;
import com.yu.annotion.Autowired;
import com.yu.annotion.Component;
import com.yu.commoninterface.InitializingBean;

@Component
public class UserServiceImpl implements UserService, InitializingBean {

    @Autowired
    private AuthController authController;
    @Autowired
    private RedisService redisService;

    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("UserServiceImpl.afterPropertiesSet(), 属性已经全部设置完毕。。。");
    }

    @Override
    public void login() {
        System.out.println("用户登录...");
    }

    @Override
    public void logout() {
        System.out.println("退出登录...");
    }


}
